import React, { Component } from 'react';
import { Card, Row, Col } from 'antd';
import DragTree from '@/pages/tree/components/DragTree';
import TreeTest from '@/pages/tree/components/TreeTest';
const data = [
    {
        key: 1,
        title: '马云',
        isLeaf:false,
        children: [
            {
                key: 2,
                title: '马化腾'
            }
        ]
    }
]
class TreePage extends Component {
    state = {}
    render() {
        return (
            <Card>
                <Row gutter={24}>
                    <Col span={8}>
                        <TreeTest data={data} />
                    </Col>
                </Row>
            </Card>
        );
    }
}

export default TreePage;